﻿using System;
using System.Collections;
using System.Collections.Generic;
using Unity.Mathematics;
using UnityEditor;
using UnityEngine;

public class BattleSceneHidePoint : MonoBehaviour
{
    private void OnDrawGizmos()
    {
        var childCount = transform.childCount;
        for (int i = 0; i < childCount; i++)
        {
            var child = transform.GetChild(i);
            if (child.name.Contains("hide"))
            {
                Gizmos.DrawSphere(child.position,0.5f);
            }
            else
            {
                Gizmos.DrawWireSphere(child.position,0.5f);
            }
        }
        
    }
}
